<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>${soryin.block.description.title}</title>

    <link rel="stylesheet" href="public/css/default.css">
     <link rel="stylesheet" href="public/css/header.css">
</head>
<body>
<div class="content" id="content">
	<div class="header" id="header">
		<div class="c">
			<div class="c_r" id="c_r">
				<div class="c_userId">
					${user.id}
				</div>
				<div class="c_title">ID</div>
			</div>
			<div class="c_c" id="c_c">
				<div class="c_t">
					${sType}
				</div>
				<div class="c_title">类型</div>
			</div>
			<div class="c_l" id="c_l">
				<div class="c_userId">
					<img src="${user.photo}" style="border-radius: 50%; " width="60px"/>
				</div>
				<div class="c_title">${user.name}</div>
			</div>
		</div>
		<div class="clear"></div>
		<div class="c">
			<div class="c_r" id="c_rs">
				<div class="c_t">
					${sDate}<em style="font-size: .2em;">天</em>
				</div>
				<div class="c_title">新鲜</div>
			</div>
			<div class="c_c" id="c_cs">
				<div class="c_t">
					${sRelation}
				</div>
				<div class="c_title">相关</div>
			</div>
			<div class="c_l" id="c_ls">
				<div class="c_t">
					${sUserCount}<em style="font-size: .2em;">万</em>
				</div>
				<div class="c_title">关注</div>
			</div>
		</div>
		
	</div>
</div>



<script type="text/javascript">
	//获取DIV宽度
	var o = document.getElementById("content");
	var w = o.clientWidth||o.offsetWidth;
	if(w>=800){w=800;}
	document.getElementById("content").style.width = w + "px";
	document.getElementById("header").style.width = w + "px";
	document.getElementById("header").style.height = w + "px";
	
	document.getElementById("c_r").style.width = (w/3) + "px";
	document.getElementById("c_c").style.width = (w/3) + "px";
	document.getElementById("c_l").style.width = (w/3) + "px";
	
	document.getElementById("c_rs").style.width = (w/3) + "px";
	document.getElementById("c_cs").style.width = (w/3) + "px";
	document.getElementById("c_ls").style.width = (w/3) + "px";
	

</script>



</body>
</html>
